home *** CD-ROM | disk | FTP | other *** search
/ Teach Your Children: Road Construction Ahead / Teach Your Children: Road Construction Ahead.iso / pc / rca / road.dxr / 00038_wrenchFrame.ls < prev    next >
Encoding:
Text File  |  1996-07-17  |  319 b   |  13 lines

  1. global g3DObject, gCustomCursor
  2.  
  3. on exitFrame
  4.   update(gCustomCursor)
  5.   if the delayCounter of g3DObject < the wrenchDelay of g3DObject then
  6.     set the delayCounter of g3DObject to the delayCounter of g3DObject + 1
  7.     go(the frame)
  8.   else
  9.     set the delayCounter of g3DObject to 0
  10.     go(the frame + 1)
  11.   end if
  12. end
  13.